package com.ruoyi.weixin.entity;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2023-12-15 10:15:26
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User  {
    public final static Integer USER_ERROR=500;
    public final static Integer USER_DEBUG=5000;

    @TableId(value="id",type= IdType.AUTO)
    private Integer id;

    //昵称
    private String nickName;
    //头像
    private String picUrl;
    //状态
    private Integer status;
    //电话
    private String phone;
    //用户openid
    private String openId;
    //邮箱
    private String email;
    //密码
    private String passWord;
    
    private String sessionKey;

    private Integer frentLink;

    private String userTab;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birth;

    @TableField(exist = false)
    private Integer famId;

    private String realName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private String ip;


}
